Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext

RE: Retrieving the Mail Server
~Bill Quetfoochekakol 28.Jan.04 12:03 PM a Web browser
General All Releases All Platforms


Call notesRegistration.GetUserInfo( username$ [, retmailServer$ [, retmailFile$ [, retmailDomain$ [, retmailSystem% [ , retprofile$ ]]]]])

will give you mailServer, mailFile etc. for a given user.

Example from designer help:
Sub Initialize
Dim session As New NotesSession
Dim reg As New NotesRegistration
reg.RegistrationServer = "AceOne"
Call reg.GetUserInfo("Roberta Person", _
mailserver$, _
mailfile$, _
maildomain$, _
mailsystem%, _
profile$)
Messagebox mailserver$,, "Mail server"
Messagebox mailfile$,, "Mail file"
Messagebox maildomain$,, "Mail domain"
If mailsystem% = 1 Then
mailsystemtext$ = "Notes mail"
Else
mailsystemtext$ = "Other than Notes mail"
End If
Messagebox mailsystemtext$,, "Mail system"
Messagebox profile$,, "Profile"
End Sub




Retrieving the Mail Server (~Evelyn Kialitl... 28.Jan.04)
. . RE: Retrieving the Mail Server (~Bill Quetfooch... 28.Jan.04)


Document Options






  Document options
Print this pagePrint this page

Search this forum

Forum views and search


  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS